package com.cdzy.pojo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 用户表实体类
 */
@Data
public class User {
    private int userId;
    private String username;
    private String password;
    private String nickname;
    private String avatar;
    private String phone;
    private String email;
    private boolean isAdmin;
    private String intro;
    private Date createdAt;
    private Date updatedAt;

    // 虚拟属性
    private int pageNum;     // 页码
    private int pageSize;    // 每页数量
    private List<Integer> idList; // 批量删除的ID数组
}
